package com.autcar.training.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @ProjectName: training
 * @Package: com.autcar.training.entity
 * @ClassName: FeedBack
 * @Author: YHHHH
 * @Description: 评价类
 * @Date: 2020/8/28 15:17
 * @Version: 1.0
 */
@Data
@TableName("feedback")
public class FeedBack {

    /*
    评论编号
     */
    @TableId(type = IdType.AUTO)
    @TableField(value = "id")
    private Integer id;

    /*
    评论对应的订单
     */
    @TableField(value = "oid")
    private Integer oid;

    /*
    交易评分
     */
    @TableField(value = "score")
    private Integer score;

    /*
    交易评价
     */
    @TableField(value = "evaluate")
    private String evaluate;


}
